package com.xhtech.base.service.user.login

import com.xhtech.base.data.UserInfo
import com.xhtech.base.service.user.UserType

/**
 * @author yuanxh
 * @date :2023/6/16 21:00
 * @description: 登录信息
 */
interface ILoginInfo {

    fun getToken():String?{return null}

    fun getLoginType(): UserType

    fun setLoginType(type: Int){}

    fun setUserInfo(userInfo: UserInfo){}

    fun getUserInfo():UserInfo?

    fun isLogin():Boolean

}